﻿using System;
using eCommerce.DataAccess;

namespace eCommerce.BusinessLogic
{
    public class Customer
    {
        public static void UpdateCustomer(Guid currentUserId, string billingFirstName, string billingSurname, string mobile, string emailAddress, string bFirstName, string bSurname, string bPhone)
        {
            CustomerDA.UpdateCustomer(currentUserId, billingFirstName, billingSurname, mobile, emailAddress, bFirstName,
                                      bSurname, bPhone);
        }

        public static DataAccess.Customer GetCustomer(Guid userId)
        {
            return CustomerDA.GetCustomer(userId);
        }

    }
}
